package com.stu.boke.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.stu.boke.entity.ArticleTagRef;
import com.stu.boke.entity.Tag;

@Mapper
public interface ArticleTagRefMapper {

	List<Tag> listTagByArticleId(Integer id);
	
	Integer countArticleByTagId(Integer id);
	
	void deleteByArticleId(Integer id);
	
	void deleteByTagId(Integer id);
	
	void insert(Integer id);

	void insert(ArticleTagRef articleTagRef);

}
